import request from '@/utils/request'

// 查询订单表列表
export function listOmsBanner(query, pageReq) {
  return request({
    url: '/oms/banner/list',
    method: 'post',
    data: query,
    params: pageReq
  })
}
// 新增订单表
export function addOmsBanner(data) {
  return request({
    url: '/oms/banner/save',
    method: 'post',
    data: data
  })
}

// 删除订单表
export function delOmsBanner(id) {
  return request({
    url: '/oms/banner/' + id,
    method: 'delete'
  })
}
